package com.equity.common;

import java.io.Serializable;

import org.springframework.stereotype.Component;

@Component("goodbyeBean")
public class GoodbyeBean implements Serializable {

	private static final long serialVersionUID = -900625433013010842L;
	private String goodbye = "Bye!";

	/**
	 * @return the goodbye
	 */
	public String getGoodbye() {
		return goodbye;
	}

	/**
	 * @param goodbye
	 *            the goodbye to set
	 */
	public void setGoodbye(String goodbye) {
		this.goodbye = goodbye;
	}

	public String returnHome() {
		return "hello.xhtml";
	}

}
